package hy.dao;


import hy.entity.Dept;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;
@Mapper//必须有,用于开启注解方式的mybatis
@Repository
public interface DeptDao {
    Dept findById(Integer id);
    List<Dept> findAll();
}

